#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
int campare(const void* a,const void* b)
{
	return *(int*)a -*(int*) b;
}
void print(int arr[],int x)
{
	for (int i = 0; i < x; i++)
	{
		printf("%d ",arr[i]);
	}
	printf("\n");


}
int main()
{
	int arr[] = { 2,65,5,7,67,23,45,33,9,0 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	qsort(arr, sz, sizeof(arr[0]), campare);
	print(arr, sz);

	return 0;
}